Search results

Types

Classes
Interfaces
Enums
Functions
Type aliases
Constants

Members

Properties
Methods
Getters
Setters
Enum members
Show privates

Other

In this module only

Class BaseClientGuildReferenceCache

<K, V>

extends BaseCollectionMixinclass BaseCollectionMixindetritus-utils/BaseCollectionMixin<Ktype parameter K, Vtype parameter V>

Defined in basecollection

Constructor

constructor(
client: ShardClientclass ShardClientdetritus-client/ShardClient,
options: BaseClientCollectionOptionsinterface BaseClientCollectionOptionsdetritus-client/collections/BaseClientCollectionOptions | boolean = {}
)

Properties

client: ShardClientclass ShardClientdetritus-client/ShardClient[src]
options: BaseCollectionOptionsinterface BaseCollectionOptionsdetritus-utils/BaseCollectionOptions = {}[src]

Methods

get guilds(): Guildsclass Guildsdetritus-client/collections/Guilds[src]
delete(guildId: Ktype parameter K | null | undefined, key: Ktype parameter K): boolean[src]
1 more overload
delete(guildId?: Ktype parameter K | null, key?: Ktype parameter K | null): boolean[src]
forEach(func: (v: Vtype parameter V, k: Ktype parameter K, map: Map<Ktype parameter K, Vtype parameter V>external Map) => void, thisArg?: any): void[src]
get(guildId: Ktype parameter K | null | undefined, key: Ktype parameter K): Vtype parameter V | undefined[src]
1 more overload
get(guildId?: Ktype parameter K | null, key?: Ktype parameter K | null): BaseCollectionclass BaseCollectiondetritus-utils/BaseCollection<Ktype parameter K, Vtype parameter V> | Vtype parameter V | undefined[src]
has(guildId: Ktype parameter K | null | undefined, key: Ktype parameter K): boolean[src]
1 more overload
has(guildId?: Ktype parameter K | null, key?: Ktype parameter K | null): boolean[src]
set(
guildId: Ktype parameter K,
key: Ktype parameter K,
value: Vtype parameter V
): BaseClientGuildReferenceCacheclass BaseClientGuildReferenceCachedetritus-client/collections/BaseClientGuildReferenceCache
[src]
keys(): IterableIterator<Ktype parameter K>external IterableIterator[src]
values(): IterableIterator<Vtype parameter V>external IterableIterator[src]
[Symbol.iterator](): IterableIterator<[Ktype parameter K, Vtype parameter V]>external IterableIterator[src]